<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>

</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

    <!-- 后台管理中心头部 -->
    <header class="main-header" th:fragment="header">
        <a href="/home" class="logo">
            <span class="logo-mini"><b>Star</b></span>
            <span class="logo-lg"><b>后台管理中心</b></span>
        </a>
        <nav class="navbar navbar-static-top" role="navigation">
            <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                <span class="sr-only">Toggle navigation</span>
            </a>
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <!-- 右侧菜单-->
                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">菜单aaa</a>
                    </li>

                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <img src="/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
                            <span class="hidden-xs">管理员</span>
                        </a>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <!-- 后台管理中心 左侧菜单上面部分 -->
    <aside class="main-sidebar" th:fragment="sidebar">
        <section class="sidebar">
            <div class="user-panel">
                <div class="pull-left image">
                    <img src="/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                </div>
                <div class="pull-left info">
                    <p>Alexander Pierce</p>
                    <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
                </div>
            </div>


            <!-- 后台管理中心 左侧折叠菜单-->
            <ul class="sidebar-menu" data-widget="tree">
                <li class="header">导航</li>
                <!-- Optionally, you can add icons to the links -->
                <li class="treeview">
                    <a href="#">
                        <i class="fa fa-address-book"></i>
                        <span>用户管理</span>
                        <span class="pull-right-container">
                             <i class="fa fa-angle-left pull-right"></i>
                         </span>
                    </a>
                    <ul class="treeview-menu " >
                        <li><a href="/admin/user/addUser">新增用户</a></li>
                        <li><a href="/admin/user/selectUser">查询用户</a></li>
                    </ul>
                </li>

                <li class="treeview">
                    <a href="#">
                        <i class="fa fa-edit"></i>
                        <span>文章管理</span>
                        <span class="pull-right-container">
                            <i class="fa fa-angle-left pull-right"></i>
                        </span>
                    </a>
                    <ul class="treeview-menu">
                        <li><a href="/admin/label/editLabels">文章分类</a></li>
                        <li><a href="/admin/article/addArticle">新增文章</a></li>
                        <li><a href="/admin/article/selectArticle">文章列表</a></li>
                    </ul>
                </li>
                <!--<li class="treeview" id="question">-->
                    <!--<a href="#">-->
                        <!--<i class="fa fa-link"></i>-->
                        <!--<span>题库管理</span>-->
                        <!--<span class="pull-right-container">-->
                            <!--<i class="fa fa-angle-left pull-right"></i>-->
                        <!--</span>-->
                    <!--</a>-->
                    <!--<ul class="treeview-menu">-->
                        <!--<li><a href="/api/v1/question/addChoiceQuestion">新增选择题</a></li>-->
                        <!--<li><a href="/api/v1/question/addJudgeQuestion">新增判断题</a></li>-->
                        <!--<li><a href="/api/v1/question/addAuto">自动导入</a></li>-->
                        <!--<li><a href="/api/v1/question/getChoiceQuestion">查询单选题</a></li>-->
                        <!--<li><a href="/api/v1/question/getJudgeQuestion">查询判断题</a></li>-->
                    <!--</ul>-->
                <!--</li>-->
            </ul>
        </section>
    </aside>

    <!-- 后台管理首页-底部footer -->
    <footer class="main-footer" th:fragment="footer">
        <!-- To the right -->
        <div class="pull-right hidden-xs">
           超星A组出品
        </div>
        <!-- Default to the left -->
        <strong>Copyright &copy; 2018 <a href="#">Super Star</a>.</strong> All rights reserved.
    </footer>

    <!-- Control Sidebar -->
    <aside class="control-sidebar control-sidebar-dark" th:fragment="control">
        <!-- Create the tabs -->
        <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
            <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
            <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
        </ul>
    </aside>
    <div class="control-sidebar-bg"></div>
</div>

</body>
</html>